<div class="login-container">
    <div class="picture">
        <img src="https://pmgr.weiyun.us/images/login_bg3.jpg" alt="">
    </div>
    <div class="login-main">
        <h1 class="text">供应商登录</h1>
        <div class="username">
            <i class="el-icon-user"></i>
            <input placeholder="用户名" v-model="userName">
        </div>
        <div class="password">
            <i class="el-icon-unlock"></i>
            <input type="password" placeholder="密码" v-model="password">
        </div>
        <div class="code">
            <i class="el-icon-coin"></i>
            <input placeholder="图形验证码" v-model="verificationCode">
            <div class="code-img" @click="getLogin()">
                <img :src="imgData" alt="">
            </div>
        </div>
        <router-link :to="{}">
            <button @click="login()">登入</button>
        </router-link>
        
    </div>
</div>